<?php

use think\migration\Seeder;

class BasicInstrument extends Seeder
{
    /**
     * 数采仪
     */
    public function run()
    {
        $table = $this->table('basic_instrument');
        $rows  = [
            //晋能热电有1个数采仪
            [
                'id'         => '1',
                'name'       => '长治晋能热电数采仪',
                'company_id' => '1',    //公司ID
            ],
        ];
        $table->insert($rows)->save();
    }
}